Forcing construction in set theory leads to a new understanding of the mathematical (multi)universe by providing a machinery through which one can construct new models of the universe from the existing ones in a fairly controlled and comprehensible way and connect them to one another through forcing extensions.
Since the very beginning, the true nature of this rather bizarre construction method has been a matter of debate. A widely accepted (?) analogy emphasizes on a degree of similarity between forcing method in set theory and field extensions in Galois theory where one constructs new fields using the existing ones by adding new elements. Besides some papers and textbooks, a good description of this analogy could be found in this MathOverflow good oldie: Forcing as a new chapter of Galois Theory?.
However, as Dorais mentioned in his answer, despite the undeniable similarity, this analogy is not as perfect as what it seems at the first glance. So, forcing is not a one hundred percent field extension-like construction anyway. This fact causes some confusion concerning the possible translation of Galois theory machinery into the language of forcing and set theory. It is often not immediately clear what the forcing analogy of a given notion in the field extensions would be. Also, sometimes there is more than one approach towards defining a corresponding Galois theoretic notion in forcing so that one needs to decide which the natural one is.
One such central concept in Galois theory is the notion of the degree of a field extension, that is the dimension of the extended field while viewed as a vector space over the ground field. The question that arises here is whether there is any corresponding well-defined, well-behaved and natural similar notion in set-theoretic forcing.
One may think if a forcing extension could be viewed as a kind of vector space-like structure over the ground model. In this sense, there might be a kind of basis associated with any such pair of models which itself may satisfy some uniqueness properties that give rise to the existence of a well-defined notion of (relative) dimension of a generic forcing extension with respect to its ground model. Our axiomatic expectations of the possible behavior of any such notion of basis/dimension is also an interesting topic to explore even before defining any such notion. Of course, we need them to behave as natural as possible and resemble their Galois theoretic counterparts fairly closely.
Question. What are examples of defining a notion of dimension or basis for forcing generic extensions in the set-theoretic literature (possibly close to the same fashion that exists for the field extensions and vector spaces)?
I couldn't find much along these lines in the literature except a short unpublished note of Golshani in which he takes a Galois theoretic approach towards dimension in forcing by dealing with mutually generic sequences and the chain of forcing extensions. It also shares many features with Hamkins' set-theoretic geology project. However, this notion of forcing dimension seems not to be complete enough to cover all aspects of a vector space view towards generic extensions but could be a really good starting point anyway.
Remark. As Peter stated in his comment, absoluteness would be an issue while defining a notion of (relative) dimension in the set-theoretic multiverse. One may ask, from whose perspective are you trying to calculate the relative dimension of two set-theoretic universes and why? In fact, due to the highly contradictory views of different models of $\sf ZFC$ towards anything beyond the narrow scope of universally absolute properties, there is not more than a little hope to obtain an absolute notion of forcing dimension after all. However, one may argue that absoluteness is not a crucial condition in the long list of our expectations from a possible natural definition of dimension for generic models. The same situation happens in the Hamkins' Well-foundedness Mirage Principle stating that "Every universe $V$ is non-well-founded from the perspective of another universe" and so there is no standard model of $\sf ZFC$.
Update. According to the Joel and Mohammad's answers, it turned out that there is more than one approach towards developing a dimension theory for forcing extensions; each with their own characteristics. While Joel's definition requires all forcing dimensions to be infinite, Mohammad's approach allows finite dimensions as well as infinite ones. Also, as Monroe pointed out both definitions fail to satisfy the so-called downwards closure property.
In general, Joel's approach sounds a little bit vector space-like to me while Mohammad's reminds me the Krull's dimension in commutative algebra. There is also a chance that these different dimensions be related or coincide with each other under certain circumstances.
The point is that in the absence of a general common sense about the expected behavior of a nice forcing dimension, it is not immediately clear whether the mentioned features are flaws or advantages of the presented definitions. Maybe one needs to fix some abstract list of required properties for any such dimension operator and then search for its existence in the forcing extensions. Anyway, if there is any suggestion for such an axiomatic approach towards forcing dimension, I will be so happy to hear about it.