In a large pot of salted boiling water, cook pasta until al dente.
Meanwhile, in a large skillet, heat oil over medium heat. Add chard stems and a pinch of salt. Give them a stir, then add the chard leaves and gently toss until they begin to wilt.
Add the balsamic, tomatoes, garlic, white beans, freshly ground pepper, and toss.
Once the chard is cooked down, add pasta and remove from heat.
Serve with shaved pecorino cheese and pine nuts on top.