Vickrey–Clarke–Groves auction
A Vickrey–Clarke–Groves (VCG) auction is a type of sealed-bid auction of multiple items. Bidders submit bids that report their valuations for the items, without knowing the bids of the other bidders. The auction system assigns the items in a socially optimal manner: it charges each individual the harm they cause to other bidders. It gives bidders an incentive to bid their true valuations, by ensuring that the optimal strategy for each bidder is to bid their true valuations of the items; it can be undermined by bidder collusion and in particular in some circumstances by a single bidder making multiple bids under different names. It is a generalization of a Vickrey auction for multiple items. The auction is named after William Vickrey, Edward H. Clarke, and Theodore Groves for their papers that successively generalized the idea. The VCG auction is a specific use of the more general VCG mechanism. While the VCG auction tries to make a socially optimal allocation of items, VCG mechanisms allow for the selection of a socially optimal outcome out of a set of possible outcomes. If collusion is likely to occur among bidders, the VCG outperforms the generalized second-price auction for both revenues produced for the seller and allocative efficiency. Intuitive description

Consider an auction where a set of identical products are being sold. Bidders can take part in the auction by announcing the maximum price they are willing to pay to receive N products. Each buyer is allowed to declare more than one bid, since its willingness-to-pay per unit might be different depending on the total number of units it receives. Bidders cannot see other people's bids at any moment since they are sealed (only visible to the auction system). Once all the bids are made, the auction is closed. All the possible combinations of bids are then considered by the auction system, and the one maximizing the total sum of bids is kept, with the condition that it does not exceed the total amount of products available and that at most one bid from each bidder can be used. Bidders who have made a successful bid then receive the product quantity specified in their bid. The price they pay in exchange, however, is not the amount they had bid initially but only the marginal harm their bid has caused to other bidders (which is at most as high as their original bid). This marginal harm caused to other participants (i.e. the final price paid by each individual with a successful bid) can be calculated as: (sum of bids of the auction from the best combination of bids excluding the participant under consideration) − (what other winning bidders have bid in the current (best) combination of bids). If the sum of bids of the second best combination of bids is the same as that of the best combination, then the price paid by the buyers will be the same as their initial bid. In all other cases, the price paid by the buyers will be lower. At the end of the auction, the total utility has been maximized since all the goods have been attributed to the people with the highest combined willingness-to-pay. If agents are fully rational and in the absence of collusion, we can assume that the willingness to pay have been reported truthfully since only the marginal harm to other bidders will be charged to each participant, making truthful reporting a weakly-dominant strategy. This type of auction, however, will not maximize the seller's revenue unless the sum of bids of the second best combination of bids is equal to the sum of bids of the best combination of bids. Formal description

Notation
For any set of auctioned items  and any set of bidders , let  be the social value of the VCG auction for a given bid-combination. That is, how much each person values the items they've just won, added up across everyone. The value of the item is zero if they do not win. For a bidder  and item , let the bidder's bid for the item be . The notation  means the set of elements of A which are not elements of B. Assignment
A bidder  whose bid for an item  is an "overbid", namely , wins the item, but pays , which is the social cost of their winning that is incurred by the rest of the agents. Explanation
Indeed, the set of bidders other than  is . When item  is available, they could attain welfare  The winning of the item by  reduces the set of available items to , so the attainable welfare is now . The difference between the two levels of welfare is therefore the loss in attainable welfare suffered by the rest of the bidders, as predicted, given the winner  got the item . This quantity depends on the offers of the rest of the agents and is unknown to agent . Winner's utility
The winning bidder whose bid is the true value  for the item ,  derives maximum utility

Examples

Two items, three bidders
Suppose two apples are being auctioned among three bidders. Bidder A wants one apple and is willing to pay $5 for that apple. Bidder B wants one apple and is willing to pay $2 for it. Bidder C wants two apples and is willing to pay $6 to have both of them but is uninterested in buying only one without the other. First, the outcome of the auction is determined by maximizing bids: the apples go to bidder A and bidder B, since their combined bid of $5 + $2 = $7 is greater than the bid for two apples by bidder C who is willing to pay only $6. Thus, after the auction, the value achieved by bidder A is $5, by bidder B is $2, and by bidder C is $0 (since bidder C gets nothing). Note that the determination of winners is essentially a knapsack problem. Next, the formula for deciding payments gives:
 For bidder A: The payment for winning required of A is determined as follows: First, in an auction that excludes bidder A, the social-welfare maximizing outcome would assign both apples to bidder C for a total social value of $6. Next, the total social value of the original auction excluding A's value is computed as $7 − $5 = $2. Finally, subtract the second value from the first value. Thus, the payment required of A is $6 − $2 = $4. For bidder B: Similar to the above, the best outcome for an auction that excludes bidder B assigns both apples to bidder C for $6. The total social value of the original auction minus B's portion is $5. Thus, the payment required of B is $6 − $5 = $1. Finally, the payment for bidder C is (($5 + $2) − ($5 + $2)) = $0. After the auction, A is $1 better off than before (paying $4 to gain $5 of utility), B is $1 better off than before (paying $1 to gain $2 of utility), and C is neutral (having not won anything). Two bidders
Assume that there are two bidders,  and , two items,  and , and each bidder is allowed to obtain one item. We let  be bidder 's valuation for item . Assume , , , and . We see that both  and  would prefer to receive item ; however, the socially optimal assignment gives item  to bidder  (so their achieved value is ) and item  to bidder  (so their achieved value is ). Hence, the total achieved value is , which is optimal. If person  were not in the auction, person  would still be assigned to , and hence person  can gain nothing more. The current outcome is ; hence  is charged . If person  were not in the auction,  would be assigned to , and would have valuation . The current outcome is 3; hence  is charged . Example #3
Consider an auction of  houses to  bidders, who are to each receive a house. , represents the value player  has for house . Possible outcomes are characterized by bipartite matchings pairing houses with people. If we know the values, then maximizing social welfare reduces to computing a maximum weight bipartite matching. If we do not know the values, then we instead solicit bids , asking each player  how much they would wish to bid for house . Define  if bidder  receives house  in the matching . Now compute , a maximum weight
bipartite matching with respect to the bids, and compute

  . The first term is another max weight bipartite matching, and the second term can be computed easily from . Optimality of truthful bidding

The following is a proof that bidding one's true valuations for the auctioned items is optimal. For each bidder , let  be their true valuation of an item , and suppose (without loss of generality) that  wins  upon submitting their true valuations. Then the net utility  attained by  is given by their own valuation of the item they've won, minus the price they've paid: 

As  is independent of , the maximization of net utility is pursued by the mechanism along with the maximization of corporate gross utility  for the declared bid . To make it clearer, let us form the difference  between net utility  of  under truthful bidding  gotten item , and net utility  of bidder  under non-truthful bidding  for item  gotten item  on true utility . is the corporate gross utility obtained with the non-truthful bidding. But the allocation assigning  to  is different from the allocation assigning  to  which gets maximum (true) gross corporate utility. Hence  and  q.e.d. See also
 Vickrey–Clarke–Groves mechanism
Vickrey auction
Preference revelation

References

Types of auction